package com.dotflat.check.po;


import com.dotflat.rest.PO.AreableObjectBasePO;
import com.dotflat.rest.domain.AreableObjectBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 设备表
 */
@Data
@ApiModel("设备表对象")
@EqualsAndHashCode(callSuper=true)
public class DevicePO extends AreableObjectBasePO
{

    @ApiModelProperty(value = "设备序列号")
    private String serialNO;

    @ApiModelProperty(value = "设备名称")
    private String name;

    @ApiModelProperty(value = "地域")
    private String address;

    @ApiModelProperty(value = "设备类型 1：温度，2:湿度,3:噪音,4:空气质量")
    private Integer type;

    @ApiModelProperty(value = "状态0正常1停用")
    private int status;

    @ApiModelProperty(value = "备注")
    private String remark;
}
